﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Articleer.aspx.cs" Inherits="CMS.Articleer" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <asp:GridView ID="ArtivleerGridView" runat="server" style="margin-left:600px;margin-top:300px" AutoGenerateColumns="false" OnRowEditing="GridView1_RowEditing" OnRowCancelingEdit="GridView1_RowCancelingEdit" OnRowDeleting="GridView1_RowDeleting" OnRowUpdating="GridView1_RowUpdating">
                <Columns>
                    <asp:BoundField DataField="Id" HeaderText="Id" ReadOnly="true" />
                    <asp:BoundField DataField="Title" HeaderText="标题" />
                    <asp:BoundField DataField="Content" HeaderText="内容" />
                    <asp:BoundField DataField="Author" HeaderText="作者" />
                    <asp:BoundField DataField="Remarks" HeaderText="备注" />
                    <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" HeaderText="操作" />
                </Columns>
            </asp:GridView>
        </div>
        <div>
            <asp:Button runat="server" ID="AddButton" Text="添加" style="margin-left:1190px;margin-top:15px" OnClick="AddButton_Click"/>
        </div>
    </form>
</body>
</html>
